package com.masq.aboard.service;

import com.masq.aboard.entity.FileInfoEntity;
import org.springframework.web.multipart.MultipartFile;

import java.io.InputStream;

/**
 * @author masq
 * @since 2024-05-03
 */
public interface FileInfoService {


    FileInfoEntity saveFileInfo(MultipartFile file, String businessId, String businessType);


    FileInfoEntity saveFileInfo(InputStream inputStream, String ext, String fileName, String businessId, String businessType);
}
